package com.rbac.auth;

import com.rbac.common.security.annotation.EnableRyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 认证授权中心
 * 
 * @author rbac
 */
@EnableRyFeignClients(basePackages = {"com.rbac.auth.*","com.rbac.common.*"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class },
        scanBasePackages = {"com.rbac.auth.*","com.rbac.common.*"})
public class AuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(AuthApplication.class, args);
        System.out.println("rbac-boot 认证授权中心启动成功");
    }
}
